Path:
http://www.jzhangfang.com/api/service?cmd=GetPZInfo
Method:
POST
描述:
查看凭证
{
"token":"20CAAD53FFBB64E7E0D9A34430316228A93D8880CDA6B8B4BC4A886DA……",
"AccountID": "0b8ca42f-2ea7-4c88-86a4-f7b559434354",
"id": "07157b60-14ae-45de-9547-b71772f57b77"
}
字段 | 是否必须 | 描述 |
---|---|---|
token | 是 | 登录令牌 |
AccountID | 是 | 账套id |
id | 是 | 凭证id |
{
"Status":"1",
"Msg":"",
"Ret":{
"id":"80b5e414-937f-e1d6-618e-dd358571957d",
"pzzh": "收",
"pznum": "0001",
"cdate": "2018-09-11",
"note": "这是一张凭证",
"attnum": "0",
"operator": "刘先生",
"shr": "张三",
"master": "刘文章",
"rows": [{
"summary": "111",
"kmid": "07157b60-14ae-45de-9547-b71772f57b37",
"auxSetIds": "07157b60-14ae-45de-9547-b71772f57b37",
"auxAccIds": "07157b60-14ae-45de-9547-b71772f57b37",
"exrate": "6.1234",
"currency": "CNY",
"num": "2.00",
"price": "12.00",
"jfje": "1234",
"dfje": "0",
"wbje": "1234"
},{
"summary": "111",
"kmid": "07157b60-14ae-45de-9547-b71772f57b37",
"auxSetIds": "07157b60-14ae-45de-9547-b71772f57b37",
"auxAccIds": "07157b60-14ae-45de-9547-b71772f57b37",
"exrate": "6.1234",
"currency": "CNY",
"num": "2.00",
"price": "12.00",
"jfje": "1234",
"dfje": "0",
"wbje": "1234"
},
…
]
}
}
参数名称 | 类型 | 描述 |
---|---|---|
Ret | JSON | 结果 |
-- id | String | 凭证id |
-- pzzh | String | 凭证字号 |
-- pznum | String | 凭证号 |
-- cdate | String | 制单日期 |
-- note | String | 批注 |
-- attnum | String | 附件数 |
-- operator | String | 制单人 |
-- shr | String | 审核人 |
-- master | String | 主管 |
-- rows | JSONArray | 分录 |
---- summary | String | 摘要 |
---- kmid | String | 科目id |
---- auxSetIds | String | 辅助核算类别ids,如果科目带有辅助核算必填,多辅助用逗号分隔 |
---- auxAccIds | String | 辅助核算ids,如果科目带有辅助核算必填,多辅助用逗号分隔 |
---- exrate | String | 汇率,如果科目带有外币核算必填 |
---- currency | String | 外币代码,如果科目带有外币核算必填,外币code,如CNY、USD等 |
---- num | String | 数量,如果科目带有数量核算必填 |
---- price | String | 单价,如果科目带有数量核算必填 |
---- jfje | String | 借方金额 |
---- dfje | String | 贷方金额 |
---- wbje | String | 外币金额,如果科目带有外币核算必填 |
Status | String | 状态: 1-成功 0-失败 2-token失效 |
Msg | String | 消息提示语 |